package com.sanerzone.smscenter.biz.iface;

import com.sanerzone.smscenter.biz.entity.SensitiveWords;
import com.sanerzone.smscenter.biz.entity.SmsGateway;
import com.sanerzone.smscenter.biz.entity.SmsGatewayGroup;
import com.sanerzone.smscenter.biz.entity.SmsGatewayGroupRel;

import java.util.Map;

public interface CachRefreshInterface {


    public boolean addSmsGatewayRelToCach(SmsGatewayGroupRel smsGatewayGroupRel);

    public boolean updateSmsGatewayCach(SmsGateway smsGateway);
    public boolean configSysBlacklist(int type,String phone,String[] phones,String level);
    public boolean configSysBlack(Map<String,String> phoneMap);
    public boolean delGatewayCach(SmsGatewayGroupRel smsGatewayGroupRel);
    public boolean updateSensitiveWord(String type,SensitiveWords sensitiveWords);

    public boolean updateGatewayGroup(String type,SmsGatewayGroup smsGatewayGroup);

}
